Re: Correct Owners & Permissions?
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 35285
interpreted = N
texte = chown -R nobody:nobodychmod -R 660That should do it for you. The first does a recursive search and makesthe owner and group be nobody. The second recursively sets all filesrights to -rw--rw------ (owner and group have read-write, no one elsehas any rights). Don't do this in the WebCatalogEngine directory, ofcourse, because there are files there that need execute set.I recently started moving all of my Orders directories into Globals,rather than leaving it with each site. This way, since the cgi-bindirectories cannot be browsed, there is no possible way that any usercan get into those directories except through my mediated scripts.Note that if you are using 4.x, I discovered that for some reason, itdoes not seem possible to change the Orders directory entry within themanagement pages any longer. You can always change the Prefs file withan editor.John PeacockPhil Marshall wrote:> > What are the correct (preferred) owner and permission for the ShoppingCarts> and Orders folders. The sites work fine now; I'm more concerned about> having appropriate security. A Browser seems to refuse any access to the> files, but, still, I'd like to set them exactly correct.> > Phil Marshall> --> Signal Advertising> 58 E State Street> Montpelier, VT 05602> 802-229-4149> phil@signalz.com> http://www.signalz.com> > -------------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list
.> To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > Web Archive of this list is at: http://search.smithmicro.com/-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/
Associated Messages, from the most recent to the oldest:
chown -R nobody:nobodychmod -R 660That should do it for you. The first does a recursive search and makesthe owner and group be nobody. The second recursively sets all filesrights to -rw--rw------ (owner and group have read-write, no one elsehas any rights). Don't do this in the WebCatalogEngine directory, ofcourse, because there are files there that need execute set.I recently started moving all of my Orders directories into Globals,rather than leaving it with each site. This way, since the cgi-bindirectories cannot be browsed, there is no possible way that any usercan get into those directories except through my mediated scripts.Note that if you are using 4.x, I discovered that for some reason, itdoes not seem possible to change the Orders directory entry within themanagement pages any longer. You can always change the Prefs file withan editor.John PeacockPhil Marshall wrote:> > What are the correct (preferred) owner and permission for the ShoppingCarts> and Orders folders. The sites work fine now; I'm more concerned about> having appropriate security. A Browser seems to refuse any access to the> files, but, still, I'd like to set them exactly correct.> > Phil Marshall> --> Signal Advertising> 58 E State Street> Montpelier, VT 05602> 802-229-4149> phil@signalz.com> http://www.signalz.com> > -------------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list .> To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > Web Archive of this list is at: http://search.smithmicro.com/-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/
John Peacock
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
WebMerchant (1997)
WebCatalog for Postcards ? (1997)
[WebDNA] Simple Date Format Conversion (2008)
[OT] SubserviantChicken.com (2004)
Playin Tricks (2006)
IIS4 & Password Authentication, request example (1998)
Problem: 3.0 doesn't update carts (1997)
WebCat2b12 Mac.acgi--[searchstring] bug (1997)
Founditems (1998)
iis 4.0 (1997)
Test (2003)
Email troubles (2005)
Setting up shop (1997)
duplicating cart items (1998)
Discounting prices across a site (1997)
Spiders and Bots (2000)
How true is this? (1999)
Variables from a long text string (2000)
Post arguments problem mac? (1997)
Using Cookie for client specific info? (1997)