LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > External Applications > PHP > Can lsws check directory and php script permissions?

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 07-26-2011, 11:56 AM
linux_terror linux_terror is offline
New Member
 
Join Date: Jul 2011
Posts: 3
Default Can lsws check directory and php script permissions?

Hello,
I am currently trying to secure lsws in a shared environment and have used the Required Permission Mask and Restricted Permission Mask for static files to lock them into being served only if static files are between 444 and 644 permissions. My question is twofold, the first aspect pertaining to applying the mask to .php extension files. What I am trying to achieve is suPHP style permissions checking so that php files are only served at 444-644 perms, basically I would just need a way to apply the static masks to the .php extension. Is this possible? Second question is on directory permissions checking, is it possible to apply a restricted permission mask to directory permissions like suPHP does? e.g. - if the directory is 777 do not serve content out of it. Please let me know if anyone has a way to do this natively or if there is any alternate workaround.

Thanks in advance!
Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 12:29 AM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.