how to use " Filtering Images by Security Prefix"

Last post 11-05-2006, 9:04 AM by Adam. 1 replies.
Sort Posts: Previous Next
  •  11-05-2006, 7:13 AM 24026

    how to use " Filtering Images by Security Prefix"

    Filtering Images by Security Prefix

    New security features for uploading and sharing images on CuteEditor have been added to ease security concerns. Different user groups can have their own image uploading/sharing folders by specifying the different image gallery paths.
     
    You can aslo apply security prefix to further filter out image files so users can only view images uploaded by themselves. Users would feel like they have their own image pools although the user group's files are located in the same physical folder. You can disable this Security Prefix feature for admins and power users so they can view all the files.

     
    • Easy File Management: File owners are clearly identified by file name prefix.
    • Individual Image Pools: Users are limited to viewing only their own uploaded images.
    • Programmable at User Level: Enables users to remove file viewing limitations for Admins and Power users.
    anybody can tell me how to setup this feature, because it does not tell how to do this.
     
    thanks
  •  11-05-2006, 9:04 AM 24027 in reply to 24026

    Re: how to use " Filtering Images by Security Prefix"

    maoker.mao,

    This is an example showing how to filtering Images by Security Role Prefix:
     
    First we need to detect which roles the user belongs to :
     
     
                       If role = "Admin" Then
                            ' skip admin 
                        ElseIf role = "Registered" Then
                            cntlCE.SetSecurityFileNamePrefix("Member_")
                        ElseIf role <> String.Empty Then
                            cntlCE.SetSecurityFileNamePrefix(role & "_")
                        End If

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

View as RSS news feed in XML