Restrict Access to fckeditor directory

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
User avatar
dbreyley
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 22
Joined: Tue Jun 17, 2008 8:06 am

Restrict Access to fckeditor directory

Post by dbreyley » Thu Aug 22, 2013 11:54 am

Does any one have a way of restricting access to the fckeditor directory to just logged in admin users?
When using a web.config file, it will not work on the .html.

We want to make sure that someone who is not logged in can not navigate directly to the fckeditor. html page and upload a malicious file into the assets dierctory.

User avatar
AbleMods
Master Yoda
Master Yoda
Posts: 5170
Joined: Wed Sep 26, 2007 5:47 am
Location: Fort Myers, Florida USA

Re: Restrict Access to fckeditor directory

Post by AbleMods » Wed Sep 04, 2013 5:50 am

To configure security on standard .html files in an IIS web server, you must set the Windows permissions on the folders themselves. Depending on the version of Windows Server you are using, this is probably the NETWORK SERVICE user account. Or the user account assigned as the identity for your application pool. No other users should be configured, except maybe your local Administrators group.

Regular .html files are not processed through the ASP.Net engine in the IIS server. That's why the web.config changes won't impact html file rendering.

Whatever you do, do not set EVERYONE or IIS_IUsers to have permissions to that folder. That opens the door you do not want open :)
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com

Post Reply