Ask a Question related to ASP.NET Security, Design and Development.
-
maxmann #1
saving XmlDocument using Windows Authentication
hello.
We have a web application that has identity impersonation
set to true in the web.config file.
We have a share on a server that we want the application
to write a file to. We have permissions on the share set
for "Everyone" to have full control.
When the XmlDocument.Save(\\myserver\myshare\myfile) line
runs, it gives an access denied error.
The funny thing is that if I run the web page from one of
the servers, which writes to the share on another server,
it works. But when I run it from my local machine, it
errors. BOTH USING THE SAME DOMAIN LOGIN. I'm even writing
out the current identity information in order to verify
that the page is running under the same windows account in
both instances. ????
Any help would be great!
Thanks, Mark
maxmann Guest
-
ASP.NET Authentication and Windows Authentication
Hello, I'm developing a web application that will run on an Intranet. I'll use Windows Authentication, so users can access the application... -
Saving a PDF from Windows and viewing it on a PC.
We export several InDesign documents as PDFs from Windows XP and Mac 10.3. Some PDF icons show the correct icon and work fine. Making no changes on... -
Authentication under Windows?
Manual quote: "The HTTP Authentication hooks in PHP are only available when it is running as an Apache module and is hence not available in the CGI... -
Forms authentication with Windows authentication
Hi, I have an ASP.NET web site that uses IIS Basic Authentication and accesses an OLAP Server at various stages. The OLAP Server authentication... -
loading xmlcontent from one xmldocument into another xmldocument
Hi, I get xml data into one xmldocument and other xml data into a second xmldocument. Let's say the structure of the first is <Table>... -
Paul Clement #2
Re: saving XmlDocument using Windows Authentication
On Tue, 5 Oct 2004 16:11:37 -0700, "maxmann" <anonymous@discussions.microsoft.com> wrote:
¤ hello.
¤ We have a web application that has identity impersonation
¤ set to true in the web.config file.
¤ We have a share on a server that we want the application
¤ to write a file to. We have permissions on the share set
¤ for "Everyone" to have full control.
¤ When the XmlDocument.Save(\\myserver\myshare\myfile) line
¤ runs, it gives an access denied error.
¤ The funny thing is that if I run the web page from one of
¤ the servers, which writes to the share on another server,
¤ it works. But when I run it from my local machine, it
¤ errors. BOTH USING THE SAME DOMAIN LOGIN. I'm even writing
¤ out the current identity information in order to verify
¤ that the page is running under the same windows account in
¤ both instances. ????
You said you have permissions set on the share. Does this mean you also have the appropriate access
rights set by the ACL on the underlying folder or files?
Just to verify, the account you're using is a domain account and not a local account on the web
server? The domain account must of course have access to both servers. If it's a local account then
there must be a mirrored account (with the same password) on the server directed to by the UNC
share.
Paul ~~~ [email]pclement@ameritech.net[/email]
Microsoft MVP (Visual Basic)
Paul Clement Guest
-
Re: saving XmlDocument using Windows Authentication
Yes, the permissions are set to Everyone on both the share
and the underlying folder for full control.
We're not using a single account for impersonation. We're
just setting impersonation=true, which means that it uses
the login of whoever is accessing the page on our domain.
And if Everyone has permissions, then it seems that the
file should be able to be created by everyone. right?
So yeah, none of this is local accounts.
<anonymous@discussions.microsoft.com> wrote:>-----Original Message-----
>On Tue, 5 Oct 2004 16:11:37 -0700, "maxmann"impersonation>
>¤ hello.
>¤ We have a web application that has identityapplication>¤ set to true in the web.config file.
>¤ We have a share on a server that we want theset>¤ to write a file to. We have permissions on the shareline>¤ for "Everyone" to have full control.
>¤ When the XmlDocument.Save(\\myserver\myshare\myfile)of>¤ runs, it gives an access denied error.
>¤ The funny thing is that if I run the web page from oneserver,>¤ the servers, which writes to the share on anotherwriting>¤ it works. But when I run it from my local machine, it
>¤ errors. BOTH USING THE SAME DOMAIN LOGIN. I'm evenin>¤ out the current identity information in order to verify
>¤ that the page is running under the same windows accountmean you also have the appropriate access>¤ both instances. ????
>
>You said you have permissions set on the share. Does thisaccount and not a local account on the web>rights set by the ACL on the underlying folder or files?
>
>Just to verify, the account you're using is a domainboth servers. If it's a local account then>server? The domain account must of course have access toon the server directed to by the UNC>there must be a mirrored account (with the same password)>share.
>
>
>Paul ~~~ [email]pclement@ameritech.net[/email]
>Microsoft MVP (Visual Basic)
>.
>Guest



Reply With Quote

