We have quite a unique database, we have been putting it together for over 12 months and I wonder wha the common techniques and processes are to protect this data when using web services and AJAX.
We are using .NET 4.0, jQuery 1.6 and C# for web services.
I wonder what are the best techniques to protect your code and database from stealing data.
1. How do I make sure that database replies with records only to requests from our page?
- Is it possible to block requests from external JS and Ajax requests?
- Do we need to generate some session with hash with secret key, so only we know whether hash is valid
- we need to stop robots from going through all the
<select>in html filter combinations, we can't afford someone to develop robot which will automatically read all combinations and save results to database
2. What is the best way to minify and confuscate JS code, to make it as difficult as possible for others to decode?
Thank you.