protection

Protect excel file with java

Is there a way to create open protected excel file in Java? I'm looking at JExcelApi and Apache Poi projects but with both of them I cannot figure out how to protect generated xls file. I want to assure that generated file can be opened only by people that know password phrase. ...

Lock down Word & PowerPoint features

Does anyone know of a way to lock down (remove/hide/disable) Word & PowerPoint in Office 2007? Simply put I want to disable the user from using some functionality in them (mostly formatting). Some ideas of ways to do it, which I just can’t seem to find solutions based on: Word has a protect document option which locks some features a...

Create password protected zip in Java

My question is similar to this one: Write a password protected Zip file in Java, but what I need is to create password protected zip file using mechanism simpler than AES beause not every archive manager can unpack AES-protected zip files (for example WinRar is not able to do that). Do you know some free library that can password protect...

Protect C# DLL from third party

Duplicate of: How to protect dlls? I'd like to protect my C# DLL from being used by third party applications. I'd like only MY applycation to use this DLL. How can I achieved that ? Thank you. ...

(Rails) Protecting code and licensing for independently deployed Rails applications...?

Hi All, I'm writing a Rails application which will have reasonably regular updates -- nothing abnormal here. I face a problem, however, due to the distribution model. Basically the application will be sold for stand-alone "intranet" installation due to its "add-on" nature (it's basically a web interface for an existing, database-drive...

Cocoa app - security issue [SOLVED]

Hello! I've a question about a good way to protect a bit my cocoa app from piracy! I know that this is impossible! So, in my app I've an isRegistered() method that run every time the user launch the app! This is called in the applicationDidFinishLaunching: App delegate ... so if this method return true, the app continue to execute the ...

VBA Macro protection

I have written a VBA macro to do some stuff in Excel, and I want to know if the following is possible. How do I protect a Macro so that no matter who uses the spreadsheet, they cannot edit the code. (IF they press ALT F11 and pull up the macro Edit button options need to be greyed out, even if the macro has been selected).? Also is it ...

Protecting a JSON Web Service

I have a JSON web service that I only want to provide for certain sites. It's a service that would be called through JavaScript using JSONP. How would I go about preventing (or at best making it more difficult for) unauthorized sites from accessing it? Requiring a user/password won't work because that would be plainly visible in JavaS...

.NET Assemblies protection

Hello everybody, In fact, this is my first post in such a forum ( if we can say it's a forum, cuz it has the same purposes, at least as i think ) As you can see in my profile i'm doing my graduation studies at the National High School of Computer Science in Algeria ( www.esi.dz) for the certificate of a state computer engineer. As part...

Online checksum checker for client side application

My client side application works only when online. Could i check the integrity of a winforms client application on server side? I would like to make my application useless when it will be pached. I mean these guys http://www.webutils.pl/SFV%5FCalculator have something similar. Of course in my case i don't want to upload the file, but...

Hijacking connection string with network packet analyzer

I guess everything is possible but I am wondering how easy is it for someone to hijack a connection string with a network packet analyzer or equivalent tool. A winforms application fetches data directly from an MSSQL server. (Supposing there are no webservices in the middle for extra protection) 1) Is it possible for someone with an a...

How would I protect an API from abuse?

Hey everyone, I run an image hosting website and I'm designing an API for it. My concern is that I don't want anyone to be able to do something like: while(true) { Upload(); } and spam/DoS the site. My current solution is to limit all IP addresses to a certain amount of uploads per day/hour. I believe this will work fine for des...

Making an PHP application that updates itself and protecting it on an enterprise level

Hi all, I'm building a CMS application in PHP. How can I make it update itself? For example via a zip file or something similar. So that an user can see new releases and download / install them without using a FTP program at all. What's the best way to protect my application? So that the user can't share it with friends. I know that a...

SQL Server 2008 data protection

I have a client-server application where a .NET client accesses all the data and stored procedures in a SQL Server 2008 database. Is there any way to protect all this data so that only the users I create and authorize can access this specific database? Especially the user 'sa' comes to mind. I don't like him to access all my data. ...

C# Class Methods Only Callable from certain Projects?

Hi All, This may not be at all possible but I thought I'd get your responses before we gave up the Idea. We have 3 main projects all in one Solution: Interface, Logic, and Data Access. The Data Access Project contains all the Object Classes with their variables and methods. The Logic Project contains classes that hold logic methods and...

A tricky GPL problem with Javascript obfuscation

Hello, I am developing a javascript API which is planned to be released LGPL early 2010. I want to release a prototype in the form of a wordpress plugin which uses my new API. I want to host this plugin on Wordpress' official plugin site. Wordpress only hosts plugins which are compatible with GPL. Ideally I would just supply an obfu...

Why can I access my private variables of the "other" object directly, in my equals(Object o) method

In Java in the equals(Object o) method I can access the private variables of the passed in object without going through its public getters. public boolean equals(Object o){ ... MyObject other = (MyObject)o; return getProp() == other.prop; } How's that? ...

What are the common practices to protect data on iPhone

Hello, the client is concerned about safety of the data application uses and stores locally on device (e.g. they want to prevent reading our data files even on jailbroken iPhones). So I wonder - what are the possible ways to ensure data safety on iPhone? Edit: I'm thinking about 2 ways of storing data - a bunch of xml files (maximum si...

When and how to use GCC's stack protection feature?

Hello, I have enabled the -Wstack-protector flag when compiling the project I'm working on (a commercial multi-platform C++ game engine, compiling on Mac OS X 10.6 with GCC 4.2). This flag warns about functions that will not be protected against stack smashing even though -fstack-protector is enabled. GCC emits some warnings when buildi...

Protecting Ruby Code

I'm developing a commercial project on an ARM based embedded board with a custom Linux kernel on it, using Ruby. Target workspace of the project and the device is a closed-environment, no ethernet, inernet, I/O devices etc... I want to protect my code/program so that; it'll only work on the specific machines I let (so; people cant just c...