Click here to Skip to main content
15,918,050 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: I cannot run ASPX file. Error: Server Error in '/' Application. Parser Error Pin
Baipat JR10-Sep-13 6:09
Baipat JR10-Sep-13 6:09 
GeneralRe: I cannot run ASPX file. Error: Server Error in '/' Application. Parser Error Pin
Richard Deeming10-Sep-13 6:35
mveRichard Deeming10-Sep-13 6:35 
AnswerRe: I cannot run ASPX file. Error: Server Error in '/' Application. Parser Error Pin
Hemant Singh Rautela15-Sep-13 22:55
professionalHemant Singh Rautela15-Sep-13 22:55 
QuestionHow to convert PDF to JPEG Pin
bths9-Sep-13 22:58
bths9-Sep-13 22:58 
AnswerRe: How to convert PDF to JPEG PinPopular
Richard MacCutchan9-Sep-13 23:45
mveRichard MacCutchan9-Sep-13 23:45 
GeneralRe: How to convert PDF to JPEG Pin
bths10-Sep-13 1:27
bths10-Sep-13 1:27 
GeneralRe: How to convert PDF to JPEG Pin
Richard MacCutchan10-Sep-13 5:05
mveRichard MacCutchan10-Sep-13 5:05 
AnswerRe: How to convert PDF to JPEG Pin
Richard Deeming10-Sep-13 1:03
mveRichard Deeming10-Sep-13 1:03 
GeneralRe: How to convert PDF to JPEG Pin
Ghost Leader16-Sep-13 21:09
Ghost Leader16-Sep-13 21:09 
QuestionHow do I fix "This page can't be displayed" error in asp.net c#? Pin
Xarzu9-Sep-13 10:13
Xarzu9-Sep-13 10:13 
AnswerRe: How do I fix "This page can't be displayed" error in asp.net c#? Pin
Richard Deeming10-Sep-13 1:00
mveRichard Deeming10-Sep-13 1:00 
QuestionRetreive JSON Data from HttpRequestMessage Pin
AnalogNerd9-Sep-13 6:53
AnalogNerd9-Sep-13 6:53 
QuestionSecuring asmx web service for JS Pin
SerNovik9-Sep-13 1:43
SerNovik9-Sep-13 1:43 
Hello.
I have a web page. This web page is open to the public. There is a jquery script on this page that collects some statistics about user actions and shows some result about it. Users are not necessary logged in or known. This script writes and reads from web service (that stores this data to database).

Data is not sensitive, but integrity is important.

How can I secure my web service from being used by third party, allowing only my JS code from a specific web page (or web site) to access it? Or at least securing it from being to easy to write or read something to my database by reverse engineering JS code.

I've googled on this topic, but have not found much.

Possible strategies I've been thinking of is:
1. When page is opened send some kids of token and compare that token to post header data. Are there standard functionally for this, from first glance I didn't find any.
2. Use only POST method and disable public service web page.
3. Implement protection from too many requests from the same ip/per hour

Any suggestions or good articles to read would be really appreciated.
AnswerRe: Securing asmx web service for JS Pin
Abhinav S9-Sep-13 6:57
Abhinav S9-Sep-13 6:57 
QuestionDeploying MVC 4 Intranet on IIS Pin
nitin_ion8-Sep-13 21:01
nitin_ion8-Sep-13 21:01 
AnswerRe: Deploying MVC 4 Intranet on IIS Pin
Abhinav S9-Sep-13 6:58
Abhinav S9-Sep-13 6:58 
QuestionCheckbox in the Gridview in asp.net application using VS 2005 & Or VS 2008 Pin
dash20208-Sep-13 19:46
dash20208-Sep-13 19:46 
QuestionjQuery jTable update : data base side won't be updated Pin
Member 101874186-Sep-13 9:25
Member 101874186-Sep-13 9:25 
QuestionCalendar control in month view,week view and day view Pin
Member 102290555-Sep-13 20:20
Member 102290555-Sep-13 20:20 
GeneralRe: Calendar control in month view,week view and day view Pin
Richard MacCutchan5-Sep-13 22:23
mveRichard MacCutchan5-Sep-13 22:23 
QuestionMULTI LANGUAGE WEBSITE IN ASP.NET USING C# Pin
abdul subhan mohammed5-Sep-13 4:33
professionalabdul subhan mohammed5-Sep-13 4:33 
AnswerRe: MULTI LANGUAGE WEBSITE IN ASP.NET USING C# Pin
Forbiddenx6-Sep-13 7:04
Forbiddenx6-Sep-13 7:04 
AnswerRe: MULTI LANGUAGE WEBSITE IN ASP.NET USING C# Pin
Abhinav S8-Sep-13 18:15
Abhinav S8-Sep-13 18:15 
Questionupdate a formview that allows paging (dynamic data website)‏ Pin
marounmm5-Sep-13 3:24
marounmm5-Sep-13 3:24 
AnswerRe: update a formview that allows paging (dynamic data website)‏ Pin
Codes DeCodes10-Sep-13 0:46
Codes DeCodes10-Sep-13 0:46 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.