473,396 Members | 1,866 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

security issue with windows control in aspx

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

Nov 19 '05 #1
4 1163
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.

Nov 19 '05 #2
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)
"androoo" <an***********@hotmail.com> wrote in message
news:11**********************@g14g2000cwa.googlegr oups.com...
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

Nov 19 '05 #3
Where is this web service ?

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

Patrice

--

"androoo" <an***********@hotmail.com> a écrit dans le message de
news:11**********************@g14g2000cwa.googlegr oups.com...
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

Nov 19 '05 #4
Sorry for long time no response. thansk for all replies
The way i dealt with this was to make a permission group and add that
as a link to my site for those who needed to use it.
http://www.code-magazine.com/article...0405031&page=3 gives
a good example of permission groups in .net

Nov 19 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Ken Cox [Microsoft MVP] | last post by:
MS has posted this here: http://www.asp.net/faq/ms03-32-issue.aspx Fix for: 'Server Application Unavailable' Error after Applying Security Update for IE...
2
by: Joseph Geretz | last post by:
I'm having a credentialing problem in my web application. Actually, I don't think this is an IIS security issue, since I'm able to access the page I'm requesting. However, the executing page itself...
29
by: Patrick | last post by:
I have the following code, which regardless which works fine and logs to the EventViewer regardless of whether <processModel/> section of machine.config is set to username="SYSTEM" or "machine" ...
5
by: Norsoft | last post by:
I have a .Net 1.1 application which is downloaded into an aspx page. It is a dll which inherits from System.Windows.Forms.UserControl. It works fine on a PC with only the 1.1 Framework. However,...
2
by: Norsoft | last post by:
I have a .Net 1.1 application which is downloaded into an aspx page. It is a dll which inherits from System.Windows.Forms.UserControl. It works fine on a PC with only the 1.1 Framework. However,...
0
by: Charles Leonard | last post by:
I am having yet another issue with Windows Server 2003. This time, the web service (a file import web service) appears to run except for one odd message: "ActiveX component can't create object". ...
0
by: Filippo Bettinaglio | last post by:
Security problem running unmanaged code (.ocx control) in a windows from control hosted in IE6 Hi, I have design a windows from control which contain a .OCX in one of its forms....
0
by: Lambuz | last post by:
Hi all, I've got this problem. I've to implemente a solution like the example in http://support.microsoft.com/default.aspx?scid=kb;EN-US;313891, but I can't configure correctly the example. ...
0
by: gxl034000 | last post by:
Hi, I have been trying to use a .net Forms control in my webpage to open up an application(notepad) on the client. The control works fine when embedded in a windows form, but I keep getting a...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.