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 / May 2006

Tip: Looking for answers? Try searching our database.

host a windows user control File access

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
gabedog@gmail.com - 26 May 2006 16:12 GMT
I have an internal app that is complex enough that I'd like to user
either create a windows app or use a windows user control in an aps.net
web page.

The windows version uses the fileOpen component. I've modified the
program to be a user control and access the data for the controls via a
web service. I haven't found a clean way to use the file open component
so that the user can access a file for processing. Is this possible? I
know that this is breaking some internet security standards, but it's
an internal app. I'd like to avoid a messy situation where the
framework security needs to be modified on the client.

If this isn't possible, can someone suggest a better design strategy?

App Overview:
------------------------
Read data from db to poplute datasets need in the processing
User reads in a file from disk that needs some heavy UI processing
The results are sent back to the db

I really appreciate any suggestions. I though this was a security
issue. I apoligize if this was posted to the wrong group.

Thanks,

Gabe
Dominick Baier [DevelopMentor] - 26 May 2006 16:35 GMT
If you use the OpenFile() method you get back a stream that is read only
- this works with the Intranet/Internet permission set.

In the IntranetZone you have unrestricted access to the file dialogs - including
the SaveDialog.

If you need more - you have to modify the security policy on the client

---------------------------------------
Dominick Baier - DevelopMentor
http://www.leastprivilege.com

> I have an internal app that is complex enough that I'd like to user
> either create a windows app or use a windows user control in an
[quoted text clipped - 22 lines]
>
> Gabe

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.