|
security
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
file permission on Windows 2003i am writing a code for export data to excel, it is working smooth on
windows 2000 platform. After I upload to windows 2003 server, FileInfo object always has problem: the FileInfo object can't access and always return "Access is denied" but i grant ASP.NET has write and modify permission and problem still here Any one know any major differents with Win2000 and Win2003 any special item I need to take care on windows 2003?? Thanks in advanced. > Any one know any major differents with Win2000 and Win2003 any special yes - on Windows2003 ASP.NET runs under NETWORK SERVICE by default - and > item I need to take care on windows 2003?? not ASPNET --------------------------------------- Dominick Baier - DevelopMentor http://www.leastprivilege.com Show quoteHide quote > i am writing a code for export data to excel, it is working smooth on > windows 2000 platform. > > After I upload to windows 2003 server, FileInfo object always has > problem: > > the FileInfo object can't access and always return "Access is denied" > but i grant ASP.NET has write and modify permission and problem still > here > > Any one know any major differents with Win2000 and Win2003 any special > item I need to take care on windows 2003?? > > Thanks in advanced. > then can i grant write permission to NETWORK SERVICE ....
how can i solve this problem...? Thanks. Show quoteHide quote "Dominick Baier [DevelopMentor]" <dbaier@pleasepleasenospamdevelop.com> ??? news:4580be631991af8c822c8e826da94@news.microsoft.com ???... > > Any one know any major differents with Win2000 and Win2003 any special > > item I need to take care on windows 2003?? > > yes - on Windows2003 ASP.NET runs under NETWORK SERVICE by default - and > not ASPNET > > --------------------------------------- > Dominick Baier - DevelopMentor > http://www.leastprivilege.com > > > i am writing a code for export data to excel, it is working smooth on > > windows 2000 platform. > > > > After I upload to windows 2003 server, FileInfo object always has > > problem: > > > > the FileInfo object can't access and always return "Access is denied" > > but i grant ASP.NET has write and modify permission and problem still > > here > > > > Any one know any major differents with Win2000 and Win2003 any special > > item I need to take care on windows 2003?? > > > > Thanks in advanced. > > > > Yes, on the file's properties, go to the security tab and add network service.
If the file is on another machine, then the NETWORK SERVICE is seen as the account for the host machine that the web app is running on. Here's a link to the subject. Look at the section 'System Accounts': http://www.microsoft.com/technet/security/topics/serversecurity/serviceaccount/sspgch02.mspx Hope this helps Chris Seary http://blog.searyblog.com/
Best practice SecureString and pswd collection
Can I tell if a user came thru a secure site? .NET app on a shared directory. How to troubleshoot 401 error when connecting using NetworkCredent if I encrypt key data why do I want or need SSL? Strange problem with X509Certificate2 on Windows 2003 Security issue running unmanaged code in a win form ctrl hosted in VB.NET Role-Based Access SecurityPermission problem Trying to grant full trust..... (.NET 2.0) |
|||||||||||||||||||||||