security issue with windows control in aspx

A

androoo

Hi

I have a windows control I embed onto an aspx page which is grabbing a
dataset from the client and sending it to the server through a
webservice.

This works fine in a windows app. However when i put the aspx on a
webpage there is a security issues that pops when user tries to use the
windows ctrl.

The message is: The application attempted to perform an operation not
allowed by the security policy. The operation required the security
exception. to grant this application the required permission use the
..net security policy admin tool.

So some questions..
How can i get the client to trust the windows ctrl ?
Why does the operation require a security exception?
Where do i and my users find the .net security policy admin tool and
can these settings be set automatically ?

Please help thanks so much
 
A

androoo

2nd paragraph i meant to say:
This works fine in a windows app. However when i put the control on a
webpage there is a security issues that pops when user tries to use the

windows ctrl.
 
B

Bruce Barker

when a .net windows control is hosted by the browser it runs in a security
sandbox. it not allowed to access local resources (the local disk or shares,
call unmanaged code, etc).

caspol.exe is the security tool used to change the permissions.

there is no automatic setup, you could write an installer, and have your
users run it.


-- bruce (sqlwork.com)
 
P

Patrice

Where is this web service ?

AFAIK this is allowed wihtout chanhing anything if the web service is at the
same location...

Patrice
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,583
Members
45,073
Latest member
DarinCeden

Latest Threads

Top