Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Security / August 2003

Tip: Looking for answers? Try searching our database.

Opening documents from asp.net fodler sturcture

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
TimmyG - 18 Aug 2003 13:12 GMT
Hello all,

We have an asp.net app protected with integrated security. Part of
this application carries out document prodcution and management via a
mixture of asp.net code and activex client controls.

The problem occurs when trying to open documents / templates (ms word)
from the folder structures under the asp.net app root.

It is imporatnt that we open these documents in word itself and not
through a browser window (as we automate from the client).

When trying to open a doc / template we are presented with a netwrok
log on box. I can only presume that this is happening because word is
making the request to the web app to open the doc (we open directly
from server). This would be becasue the dir structure is protected by
the web config and iis settings. This is really not acceptale. We are
using client impersonation and this obviously (and unsurprisingly)
doesnt apply to requests made by word.

Can anyone offer any solution to this problem i.e. impersonating from
activex / word or maybe using a different web config for the doc
subfolder?

Obliged and out,
TimmyG.
Lewis Wang [MSFT] - 19 Aug 2003 08:28 GMT
Hi Timmy,

I don't think it is a good idea to use client impersonation, since it
requires extra security settings on the client side. Could you provide more
explanations on what you are trying to archive?

Does it work if the control saves the document to hard drive, and then use
Word to open it?

Best regards,
Lewis

This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
| From: tim@pracctice.com (TimmyG)
| Newsgroups: microsoft.public.dotnet.framework.aspnet.security
[quoted text clipped - 7 lines]
| Content-Transfer-Encoding: 8bit
| X-Trace: posting.google.com 1061208772 8614 127.0.0.1 (18 Aug 2003
12:12:52 GMT)
| X-Complaints-To: groups-abuse@google.com
| NNTP-Posting-Date: 18 Aug 2003 12:12:52 GMT
| Path:
cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!news-out.cwix.com!newsfeed.cwix.co
m!nntp1.roc.gblx.net!nntp.gblx.net!nntp.gblx.net!priapus.visi.com!news-out.v
isi.com!petbe.visi.com!news-out1.nntp.be!propagator2-sterling!news-in-sterli
ng.newsfeed.com!tdsnet-transit!newspeer.tds.net!sn-xit-02!sn-xit-04!sn-xit-0
1!sn-xit-09!supernews.com!postnews1.google.com!not-for-mail
| Xref: cpmsftngxa06.phx.gbl
microsoft.public.dotnet.framework.aspnet.security:6303
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.security
|
[quoted text clipped - 24 lines]
| Obliged and out,
| TimmyG.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.