Questions tagged [code-access-security]

Code-access security is security specific to limiting access to or protecting source code, through the use of processes such as encryption, obfuscation, and more.

Code-access security is security specific to limiting access to or protecting source code, through the use of processes such as , , and more. The goal of code-access security is most often to protect functionality from competitors, to prevent reverse-engineering, or to preserve integrity of program communication protocols.

For more on obfuscation:

Note that security questions which are not about a specific programming problem may be better suited to our sister site, IT Security Stack Exchange.

337 questions
0
votes
2 answers

Slow performance with SecuritySafeCriticalAttribute on win server 2008

My Application spend too many time on Wait method Environment: .Net 4.0 App Platform x86 Console app win server 2008 (x64) I've checked performance by dottrace Wait is marked by SecuritySafeCriticalAttribute Please note on Win7 (x64) all works…
GSerjo
  • 4,725
  • 1
  • 36
  • 55
0
votes
1 answer

PHP How To Restrict domain to send POST request

I need to restrict POST request from specific domain. As far I know, HTTP_REFERER checking cannot be a good solution because it can be spoofed. So what can be the good solution when two different websites from different technology and web servers…
PHPLearner
  • 56
  • 5
0
votes
1 answer

.NET Security Exception only in external code

I am using VS2012 with VB.NET for a winfowms app, using Active Directory roles. Running the program as a user without permissions, I am getting an (expected) security exception when trying to launch this form. I have a form that looks like…
0
votes
2 answers

How do I obscure a single function in a PowerShell module?

I have a module that includes a function with some private data that should be secured. I don't want the hassle of constantly compiling the whole module, if that is even possible. I want to be able to call the function and get information out of…
Josiah
  • 2,666
  • 5
  • 30
  • 40
0
votes
1 answer

PortalSiteMapprovider Code Access Security Requirements

I'm using a portalsitemapprovider object to create my navigation server control. I've assigned sharepoint object model access and impersonation rights in the controls CAS. However despite this I can't retrieve the child nodes of the root node of the…
0
votes
3 answers

Bypassing a browser security limitation on my own computer

I'm trying to create a list of languages' directions (Left-To-Right or Right-To-Left. Other directions don't exist in Wikipedia) by their prefixes (en, fr, es, …) in Wikipedia. To do that I wrote a JS code that can be executed on this page and that…
string QNA
  • 3,110
  • 3
  • 17
  • 14
0
votes
0 answers

Preventing .NET from checking code signing certificate's revocation status for certain assemblies

I'm looking for a way to instruct the .NET runtime, that it shall not check online the revocation status of a code signing certificate with the respective certification authority for certain assemblies. These assemblies run within a SharePoint 2010…
0
votes
1 answer

.Net security Unrestricted permission issue

I am confused about what does the Unrestricted property of .Net security, as mentioned here, http://msdn.microsoft.com/en-us/library/system.security.permissions.securityattribute.unrestricted.aspx we could give it full or non-full. My confusion is…
George2
  • 44,761
  • 110
  • 317
  • 455
0
votes
1 answer

I migrated my ASP.Net site from one UNC path to another but a subapp is giving me an AspNetHostingPermission

I've migrated my ASP.Net website from a UNC path on one server to a new UNC path on a new, bigger server. After messing about with Code Access Security permissions in caspol and making sure the AppPool has the right settings, the website is working…
Owen Blacker
  • 4,117
  • 2
  • 33
  • 70
0
votes
1 answer

Loading .NET assemblies from a network share

I've created an assembly that needs to run from a network share for use with AutoCAD. The code runs fine when called from AutoCAD on the local PC, but when called from the network share it throws a System.Security.SecurityException exception. I've…
Richard Banks
  • 2,946
  • 5
  • 34
  • 71
0
votes
0 answers

Trust level in asp.net 3.5

I have created a website and uploaded using Godaddy hosting... When I am trying to access a page which has an editor to insert data.. I get following error *Description: *The application attempted to perform an operation not allowed by the security…
spiderman
  • 25
  • 7
0
votes
2 answers

SoundManager2 SWF Load Issue

Trying to load Soundmanager2's SWF file from our CDN. I assume I'm running into cross domain flash issues. has anybody done this? it is even possible? here's what I'm trying... var allowxdomainscripting = true; var xdomain = "*"; soundManager.url…
lyndonr
  • 15
  • 3
-1
votes
4 answers

windows memory management issue

how to use the malloc() function effeciently for different OS.
Tinni
  • 17
  • 2
-1
votes
2 answers

Is there a way to take Perl code and "secure" it?

Possible Duplicates: How can I obfuscate my Perl script to make it difficult to reverse engineer? Is there a good obfuscater for Perl code? Have some Perl code I'd like to resell, but don't want the code to be viewable, just executable. Is there…
blunders
  • 3,619
  • 10
  • 43
  • 65
-1
votes
1 answer

How to not allow someone else to delete access file in the share folder?

The small company in which I work have 4 desktops, and we have a shared folder. And we have one important access file which keeps updating. And I to set a password to open it or to delete it. Can I do that? if so please help me. Thanks
user7665661
1 2 3
22
23