Style Builder background image dialog allows thumbnail creation even with all security settings applied.

Last post 06-29-2011, 1:59 AM by Kenneth. 7 replies.
Sort Posts: Previous Next
  •  06-23-2011, 1:31 PM 68124

    Style Builder background image dialog allows thumbnail creation even with all security settings applied.

    I've applied all of the following security settings to prevent a user from editing, moving, renaming, deleting files or folders from their images directory. However, even though all of the other buttons are disabled the "create thumbnail" icon is still active and allows the user to create a thumbnail. Is there a setting that I'm not aware of that will disable the "create a thumbnail" button on the style builder, background image dialog window?
     
    ctlRTB.SetSecurityAllowCopy(false);
    ctlRTB.SetSecurityAllowCreateFolder(false);
    ctlRTB.SetSecurityAllowDelete(false);
    ctlRTB.SetSecurityAllowDeleteFolder(false);
    ctlRTB.SetSecurityAllowModify(false);
    ctlRTB.SetSecurityAllowMove(false);
    ctlRTB.SetSecurityAllowRename(false);
    ctlRTB.SetSecurityAllowUpload(false);
    ctlRTB.SetSecurityReadOnly();
  •  06-23-2011, 4:31 PM 68126 in reply to 68124

    Re: Style Builder background image dialog allows thumbnail creation even with all security settings applied.

    Hi bshamblen,
     
    Please follow steps:
    1. Open file "CuteSoft_Client\CuteEditor\Dialogs\InsertImage.aspx"
    2. You can find the following line: 
    <img  id="img_AutoThumbnail" src="../Load.ashx?type=image&file=resize.gif" onclick="AutoThumbnail();" title="[[AutoThumbnail]]" class="cursor dialogButton" />
    3. Update it to
    <img style="display:none" id="img_AutoThumbnail" src="../Load.ashx?type=image&file=resize.gif" onclick="AutoThumbnail();" title="[[AutoThumbnail]]" class="cursor dialogButton" />
    4. test it again
     
    Thanks for asking
  •  06-23-2011, 5:00 PM 68127 in reply to 68126

    Re: Style Builder background image dialog allows thumbnail creation even with all security settings applied.

    I tried the "InsertImage.aspx" page and that didn't work. I noticed that the actual page that was being displayed at the time was SelectImage.aspx, so I made the change that you suggested to that page and it worked. Will a future release of your component handle this automatically or will I need to make this change every time I upgrade to the latest version?
  •  06-24-2011, 1:20 PM 68141 in reply to 68126

    Re: Style Builder background image dialog allows thumbnail creation even with all security settings applied.

    I was testing this feature on all browsers to make sure my changes worked, but selecting a background image on Safari, Firefox and Chrome does not work. I tested this on your demo page, just to make sure it wasn't something related to my settings and I get the same result.
     
    Steps to reproduce: 
    1. Using either Safari 5, Firefox 4 or Chrome 12 go to http://www.cutesoft.net/example/general.aspx
    2. Click somewhere in the middle of the table that's displayed in the sample editor window.
    3. Click the <table> selector at the bottom of the CuteEditor and select the "Properties" menu item.
    4. Select the Style Builder tab.
    5. Click the Background button in the left menu.
    6. Click the ... button next to the background image URL text box. 
    7. In the Select Image window select an image and click the Insert button.
    8. Click the OK button at the bottom of the Style Builder window. 
    9. Notice that the background image value was not applied to the table.
  •  06-27-2011, 8:46 AM 68172 in reply to 68141

    Re: Style Builder background image dialog allows thumbnail creation even with all security settings applied.

    Hi bshamblen,
     
    I can reproduce this, we will investigate and get back to you ASAP.
     
    Thanks for reporting
  •  06-27-2011, 11:06 PM 68186 in reply to 68141

    Re: Style Builder background image dialog allows thumbnail creation even with all security settings applied.

    Hi bshamblen,

    After select the image(step 7), in the style builder tab -->Background-->Horizontal section type “1” and than you can remove this “1”. The background image will display.

    Regards,

    ken

     
  •  06-28-2011, 11:26 AM 68206 in reply to 68186

    Re: Style Builder background image dialog allows thumbnail creation even with all security settings applied.

    Will there be a fix for this in the next release or do we have to provide training to implement this work around going forward?
     
    Thanks,
    Brian
  •  06-29-2011, 1:59 AM 68236 in reply to 68206

    Re: Style Builder background image dialog allows thumbnail creation even with all security settings applied.

    Hi bshamblen,
     
    We will fix this issue in this week. Sorry for your inconvenience.
     
    Regards,
     
    Ken
View as RSS news feed in XML