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:
WebCat2b13MacPlugIn - [include] doesn't allow creator (1997)
math problems (2000)
SSL Certificates (2004)
WAP (2000)
Removing [showif] makes a big difference in speed (1997)
[WebDNA] [OT] Apple iPad (2010)
Great product and great job ! (1997)
Separate SSL Server (1997)
New WebDNA Solutions ... (1997)
Hideif on IP range (2004)
WebCatalog2 Feature Feedback (1996)
New Zealand [OT - was Car Database] (2002)
Opinion: [input] should be called [output] ... (1997)
closedatabases simple question.. (2002)
webcatalog developers in W. Pa. (1998)
Emailer tracking (1997)
WebDNA Feature Request (2006)
[searchString] (1997)
[OT] friday pics :-) (2005)
Bad match! (2002)