Re: Different Drive

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 50901
interpreted = N
texte = JohnSorry but that sounds like Yes but No.If I were to get the permissions set (F is on the same machine) how would I write a CreateFolder, CopyFile etcOn Tuesday, June 3, 2003, at 11:50 PM, John Peacock wrote:> Stuart Tremain wrote: >> What I am trying to do is move a directory and files from my D:\ >> drive to my F:\ drive. > > As long as F: is a local drive on the same server, yes, no problem at > all. However, due to the nature of Windows security, it is very > difficult to correctly permit services access to network resources. > It is not sufficient to create a drive map, since that map is specific > to the logged in user account, and is inaccessible to the user login > used to execute the Webcatalog service. > > In order to use networked resources from a service under NT/W2K, you > have to have: > > 1) a user with rights to the network resources (e.g. a domain user) in > addition to the special rights required to run as a service; > > 2) the application must support UNC path notation (since the service > will need to directly access the remote resource, i.e. not via a drive > map). > > Most services run as the SYSTEM account, a special local-only, high > priviledge account. It is possible under W2K (I think only with > Active Domain) to permit the SYSTEM account to have the same rights on > remote machines. Typically, though, a domain account would be set up > to run the service account, and that account would be given permission > to access the remote resources. > > However, WebCatalog does not support UNC paths (and AFAIK never has), > so you will not be able to use networked files until it does. I did > try this when setting up our new web server... > > John > > -- > John Peacock > Director of Information Research and Technology > Rowman & Littlefield Publishing Group > 4501 Forbes Boulevard > Suite H > Lanham, MD 20706 > 301-459-3366 x.5010 > fax 301-429-5748 > > > ------------------------------------------------------------- > 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://webdna.smithmicro.com/ > > RegardsStuart Tremain idfk web developments 114a/40 yeo street neutral bay 2089 australia t +612 9908 2134 f +612 9908 4837 ------------------------------------------------------------- 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://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Different Drive (Stuart Tremain 2003)
  2. Re: Different Drive (Stuart Tremain 2003)
  3. Re: Different Drive (Stuart Tremain 2003)
  4. Re: Different Drive (Stuart Tremain 2003)
  5. Re: Different Drive (Stuart Tremain 2003)
  6. Re: Different Drive (John Peacock 2003)
  7. Re: Different Drive (Andrew Simpson 2003)
  8. Different Drive (Stuart Tremain 2003)
JohnSorry but that sounds like Yes but No.If I were to get the permissions set (F is on the same machine) how would I write a CreateFolder, CopyFile etcOn Tuesday, June 3, 2003, at 11:50 PM, John Peacock wrote:> Stuart Tremain wrote: >> What I am trying to do is move a directory and files from my D:\ >> drive to my F:\ drive. > > As long as F: is a local drive on the same server, yes, no problem at > all. However, due to the nature of Windows security, it is very > difficult to correctly permit services access to network resources. > It is not sufficient to create a drive map, since that map is specific > to the logged in user account, and is inaccessible to the user login > used to execute the Webcatalog service. > > In order to use networked resources from a service under NT/W2K, you > have to have: > > 1) a user with rights to the network resources (e.g. a domain user) in > addition to the special rights required to run as a service; > > 2) the application must support UNC path notation (since the service > will need to directly access the remote resource, i.e. not via a drive > map). > > Most services run as the SYSTEM account, a special local-only, high > priviledge account. It is possible under W2K (I think only with > Active Domain) to permit the SYSTEM account to have the same rights on > remote machines. Typically, though, a domain account would be set up > to run the service account, and that account would be given permission > to access the remote resources. > > However, WebCatalog does not support UNC paths (and AFAIK never has), > so you will not be able to use networked files until it does. I did > try this when setting up our new web server... > > John > > -- > John Peacock > Director of Information Research and Technology > Rowman & Littlefield Publishing Group > 4501 Forbes Boulevard > Suite H > Lanham, MD 20706 > 301-459-3366 x.5010 > fax 301-429-5748 > > > ------------------------------------------------------------- > 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://webdna.smithmicro.com/ > > RegardsStuart Tremain idfk web developments 114a/40 yeo street neutral bay 2089 australia t +612 9908 2134 f +612 9908 4837 ------------------------------------------------------------- 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://webdna.smithmicro.com/ Stuart Tremain

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:

Webcat/Webmerchant (1998) Upgrading old WebCat Database Files (1997) Another Excel Problem (2003) docs for WebCatalog2 (1997) Logging purchases (1997) WebCatalog2 Feature Feedback (1996) Problems setting MIME Headers (1998) still having shipCost.db Problem (1997) Different Email recipients? (1998) [WebDNA] search command problem (2009) cart file creation (2003) RE: 2nd WebCatalog2 Feature Request (1996) customizing the color of user's pages (1997) Database (1999) Further tests with the infamous shipCost (1997) Sitebuilder ifs not matching [SMSI?] (2004) New Business Opportunity (2006) Various Problems (1997) WC2f3 (1997) Header info in content (1998)