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
0 answers

Secure sensitive web dir folder

In a app which is using ussd to make payment and later the offline app is uploading tokens to online app for use. I would like to be shared some ways and considerations to be taken to a folder which is keepin tokens in XML format. Currently my…
FetchLazy
  • 30
  • 6
0
votes
3 answers

Prevent webservice to be called from different Client App

I have this webservice at work. For that webservice our department have developed a client to consume the webservice. What we want to prevent is, that they develop any other client to consume it. Is there any algorithm, practice that we can improve…
Garis M Suero
  • 7,974
  • 7
  • 45
  • 68
0
votes
2 answers

how to protect client side code (javascript/jquery) from debug/edit by pressing browser F12

If I am using Ajax call methods in my asp.net application for submitting some values, how I can protect these values from client side edit through browser? Please suggest.
Praveen VR
  • 1,554
  • 2
  • 16
  • 34
0
votes
2 answers

Python: Dennis Nedry - Security

Has anyone seen Jurrassic Park where Dennis Nedry has protected the system with an animation that says 'You didn't say the magic word' where after the system goes down. Is it possible to do something similar ikn Python ? To describe it less…
0
votes
2 answers

Secure way to store a highscore?

I have an Android app and I'm saving highscores simply in Shared Preferences. On a rooted device, you can just edit the XML and modify the score. Because in next update I'm planning to add Google Play Leaderboards, I need to store them safely. Now,…
tensojka
  • 302
  • 1
  • 5
  • 20
0
votes
0 answers

Is it possible to compile Python source codes to protect code from unauthorized access?

For example, I'm a developer, who created some application (e.g., django application) for free, using python. I want to share my application with other guys. But I don't want share source code. I wish to have full control on my program. Is it…
Denis
  • 3,595
  • 12
  • 52
  • 86
0
votes
1 answer

How to prevent windows administrator to attach ms sql database

Background: [No copyright implementation] [No copyright implementation] My company develops inventory control application for clients in the area where we don't have copyright protection by the government. The only option is to hide and protect…
0
votes
0 answers

PowerPoint 2013 crashes becasue of add-in?

I have created an add-in in PowerPoint 2013 (*.ppam format). This works fine when I open the actual add-in file. But when I add it to PowerPoint 2013 to auto load it via registry, Key:…
Codename K
  • 890
  • 4
  • 23
  • 52
0
votes
0 answers

How to authenticate a data field in a DB

I would like to have a way to validate / authenticate a field in a DB. I have an SQL database where one of the tables has some payment data (most importantly - a USERID, a DATE and a SUM). I would like to make sure the data hasn't been altered by a…
Roman
  • 4,443
  • 14
  • 56
  • 81
0
votes
1 answer

C# secure connection info for MYSQL

I'm about to release a small tool which uses a database connection for storing data. The question is: How can I prevent people reverse engineering my code and getting the Username and Password to gain access to the database? For earlier projects…
C4d
  • 3,183
  • 4
  • 29
  • 50
0
votes
1 answer

How to secure the html5 audio link from download

I have a wordpress website in which I want to embed the audio player for .mp3 files. But the user should not get the server url of the music file. Currently I have used [audio src=""]. But through this user get the url though page source. So is…
Majid Sayyed
  • 191
  • 2
  • 9
0
votes
1 answer

How can I send email leveraging my gmail account without revealing my password?

I want to send myself email of exceptions that are caught in my app when it is "in the wild." I found a simple way to accomplish the programmatic sending of email using K.R.R.'s answer here, but it requires the adding of credentials like…
0
votes
1 answer

Satellite assemblies and FullTrust issues when .NET exe is on the network

I'm executing my .NET app from a network share. Since framework 3.5 SP1, and as explained here: http://blogs.msdn.com/shawnfa/archive/2008/05/12/fulltrust-on-the-localintranet.aspx, the main exe and all the DLLs located in the same folder (but not…
leo
  • 1,134
  • 1
  • 8
  • 20
0
votes
1 answer

Restrict JavaScript include to certain IP addresses?

I hope to get your feedback on this. My HTML head for the website calls-js.com contains the following: As you can see, calls-js.com is calling some.js from…
user1644380
0
votes
1 answer

MS Exam 70-536 - Caspol actions not presented by .Net Config Tool

Studying MS Exam 70-536 .Net Foundation I've got to Chapter 11 Application Security and in the end of a lesson there is a practice to add code group with .Net Configuration Tool and change it with caspol. After adding new code group with config…
Maksym Gontar
  • 22,765
  • 10
  • 78
  • 114