What Better Security Can You Suggest For This Javascript - Webmasters - Nairaland
Nairaland Forum › Science/Technology › Webmasters › What Better Security Can You Suggest For This Javascript (985 Views)
| What Better Security Can You Suggest For This Javascript by Nobody: 4:25pm On Jan 23, 2012 |
The original - http://.net/demos/mstat2.php The pirated http://.com/demos/mstat2.php I want to force some client to pay before being able to make use of this. I want to see how easy it is to break the flimsy security here. Oya boys, your assistance is needed please. Now where is that slyr0x ![]() This is a continuation of Nse Api / Javascript Api Restriction |
| Re: What Better Security Can You Suggest For This Javascript by Slyr0x: 4:41pm On Jan 23, 2012 |
I have no idea what your script does/what you are trying to do. . ![]() |
| Re: What Better Security Can You Suggest For This Javascript by Nobody: 4:44pm On Jan 23, 2012 |
If you take a look at http://.net/demos/mstat2.php - you will see that the script pulls out some data from my server. And presents it in a javascript widget. So how do i prevent other people from stealing the information from my server if they are not authorized to do so. |
| Re: What Better Security Can You Suggest For This Javascript by yawatide(f): 5:09pm On Jan 23, 2012 |
so i am thinking you do like google analytics where each client has an acct number. You pass this as part of your script call and check for that first. If the keys don't match, you immediately either tell them they are not authorized to view or show a blank page. Another option to either use solo or in conjunction with the above might be to obfuscate your code. Of course, everything is pretty much reverse engineerable but i doubt that many people will bother going that far. |
| Re: What Better Security Can You Suggest For This Javascript by Nobody: 5:26pm On Jan 23, 2012 |
Okay. The way you said it has placed some ideas into my head. I will implement later on. |
| Re: What Better Security Can You Suggest For This Javascript by Nobody: 5:53pm On Jan 23, 2012 |
If you check the page www.nse..net - i have added "Market Statistics" to the page via the script specified. I dont want people to just copy the javascript and use it anyhow. |
| Re: What Better Security Can You Suggest For This Javascript by jajad: 7:04pm On Jan 23, 2012 |
It seems you're only checking the Referer header. Not good enough. ![]() yawa-ti-de is right, you should probably give them some access code. What you could do is have a some kind of free limit (maybe 2000 views a day for each free access code, whatever you can afford to serve). If you go over this limit, you have to pay. This way, you're offering a free public service for low-end users, but the guys who hammer your servers have to pay. |
| Re: What Better Security Can You Suggest For This Javascript by Nobody: 7:25pm On Jan 23, 2012 |
Scanning server I.Ps as well. The limit one sounds good, even better actually. I will keep that in mind. Lets see how demands will go fast. It is the demand that will determine what i supply na. |
| Re: What Better Security Can You Suggest For This Javascript by Nobody: 8:59pm On Jan 23, 2012 |
Anyone accessing your server has to have some sort of key that last over a period of time, and each key is tied to a specific client that way you can monitor not only thier usage but can also block them also by feeding them null datas, all these are theoretical but yeah it workable. i hoped i helped out |
| Re: What Better Security Can You Suggest For This Javascript by Nobody: 9:01pm On Jan 23, 2012 |
dat makes sense, thanks |
| Re: What Better Security Can You Suggest For This Javascript by Nobody: 9:02pm On Jan 23, 2012 |
question: will monitoring i.p of servers be effective? if so explain |
| Re: What Better Security Can You Suggest For This Javascript by jajad: 9:04pm On Jan 23, 2012 |
I don't see how. After all, the request is made from the client, i.e. the people going to YOUR clients' websites. |
| Re: What Better Security Can You Suggest For This Javascript by Nobody: 9:05pm On Jan 23, 2012 |
Well, you do have a point. |
What Widget Will You Suggest I Use For A News Site? • Please Suggest Best VPS Hosting Provider • Dhtml Quiz: How Will You Detect If A Browser Support Javascript From Php Code? • 2 • 3 • 4
How Do I Get Web Design Jobs? • Learning Is Great • How Do You Get Traffic To Your Website? Let's Talk.

