Deny access except to authorized websites Programming Web Development by valonesal … of he folders from everyone except for authorized websites. So we want to allow authorized websites to use our scripts, images and… other items in the folders but if they are not authorized we don't want anyone to access the content. We… JavaScript SQLite 'not authorized' exception Programming Web Development by nishant52 …'m getting the following error: > Oops. Error was 'not authorized' (Code 1) When I'm running the CREATE TABLE and… or BEGIN TRANSACTION , the same error is shown: > not authorized I'm unable to resolve this error. I want to… Access a restrcited server from my authorized IP Programming Web Development by togoenvogue … my VPS IP address (173.0.0.0) to their authorized IP address pool. This means that if I want to….0/request.jsp) from my VPS IP address they have authorized. PS : 1. Let presume I want to use PHP (Curl… Re: Access a restrcited server from my authorized IP Programming Web Development by togoenvogue Thank you Pritaeas, I had a look at the posts. They are fine, but just the remote link in my case is IP restricted, and only the authorized IPs can have access to it. In my case, I know my authorized IP, and have the remote server access credentials (username / password). Any further idea ? Thank you, John Re: Exception: 200: The user hasn't authorized the application to perform this action Programming Web Development by abelLazm … [URL="http://www.ndot.in/blog/the-user-hasnt-authorized-the-application-to-perform-this-action.html"]this link…/search?q=Exception%3A+200%3A+The+user+hasn%27t+authorized+the+application+to+perform+this+action&ie=utf-8… Re: Exception: 200: The user hasn't authorized the application to perform this action Programming Web Development by agam360 … [URL="http://www.ndot.in/blog/the-user-hasnt-authorized-the-application-to-perform-this-action.html"]this link…/search?q=Exception%3A+200%3A+The+user+hasn%27t+authorized+the+application+to+perform+this+action&ie=utf-8… Application not authorized to access the restricted API Programming Software Development by lorenshia05 …'s the error message : [QUOTE]java.lang.SecurityException: Application not authorized to access the restricted API at com.sun.midp.security… java.lang.SecurityException: Application not authorized to access the restricted API Programming Mobile Development by jrosh … two strings.It gives me java.lang.SecurityException: Application not authorized to access the restricted API error. (Caught in the try… Exception: 200: The user hasn't authorized the application to perform this action Programming Web Development by agam360 … and trowed this exception: Exception: 200: The user hasn't authorized the application to perform this action Code: [CODE] if(isset… I get HTTP Error 401.2 - Unauthorized You are not authorized to view this Hardware and Software Microsoft Windows by menukadevinda … following error. HTTP Error 401.2 - Unauthorized You are not authorized to view this page due to invalid authentication headers. he… Facebook (#200) The user hasn't authorized the application to perform this Programming Web Development by dado.d … process.php It just says (#200) The user hasn't authorized the application to perform this action. I'm not sure… Curl request returns 401 not authorized Programming Web Development by iveto89 … cURL request to neteller API and it returns 401 not authorized. My IP is whitelisted in neteller test account. I have… Re: Deny access except to authorized websites Programming Web Development by somedude3488 You could have a php page on their server request information from a php page on your server with a unique key only assigned to one site. Not sure if thats what you mean. Re: Deny access except to authorized websites Programming Web Development by valonesal Ok that sounds fine but will it stop others from accessing the stuff in the folders and if so can you give me an example of how we could implement this. Thank you. Re: Deny access except to authorized websites Programming Web Development by somedude3488 What type of files are you wanting to protect? Re: Deny access except to authorized websites Programming Web Development by valonesal pretty much everything, mostly images html, php, and js Re: Deny access except to authorized websites Programming Web Development by somedude3488 I would put those files where they can't be accessed publicly. This usually means putting them somewhere above the public_html folder on most hosts. Do you have access to a database? Re: Deny access except to authorized websites Programming Web Development by valonesal Yes we have a dedi server Re: Deny access except to authorized websites Programming Web Development by somedude3488 I would store the files that are accessible in the database. The database would store the file path, name, and content-type. This would make it easier to manage them. Do you have anything in place where people register to use those files? Re: Deny access except to authorized websites Programming Web Development by valonesal No after they sign up the files are then installed for use. Re: Deny access except to authorized websites Programming Web Development by somedude3488 Ok, can you explain exactly what your site does and how the signup process works. I am confused and after you explain this, I promise to quit asking so many questions. Re: Deny access except to authorized websites Programming Web Development by valonesal Lol no worries we never resolve problems without questions. Ok here is how it works, you come to our site and sign up for any number of products, after you sign up we verify your information, ie, website email and things like this. We then create you a personalized logo and user pages and such, so what we need to do is keep the personalized stuff… Re: Deny access except to authorized websites Programming Web Development by somedude3488 What do your users currently use to retrieve data from the site? Just a direct url: [url]http://www.yoursite.com/user-folder/file.ext?[/url] Re: Deny access except to authorized websites Programming Web Development by valonesal yes Re: Deny access except to authorized websites Programming Web Development by somedude3488 This is how I would setup the site. Most of this you can ignore, but this setup would be the most efficient. 1. User registers for a service and that user is added to a user table and a project is added to 'projects' table in the database. I am not sure exactly what services you offer so this would change accordingly. 2. You create the files and … Re: Deny access except to authorized websites Programming Web Development by valonesal Lol wow, ok first way over my head, what ever you can provide would be great as I am way lost, however what you have mentioned sounds great. What ever you can provide would be greatly appreciated. One last thing is there a way to create it so that they dont have to upload a file to their server just input code where the want things shown? Re: Deny access except to authorized websites Programming Web Development by somedude3488 Sadly, I can't think of anyway that would be possible. Example: If I wanted a css stylesheet [code]<link rel="stylesheet" href="http://yoursite.com/user/style.css" type="text/css" />[/code] Your server has no way of know which website sent for that because the users browser did it. That users ip address will be … Re: Deny access except to authorized websites Programming Web Development by valonesal No worries I was just curious but I would definitely like to go through with your idea if possible. Re: Deny access except to authorized websites Programming Web Development by valonesal I do like the .123 thing so it is kind of obfuscating where the files are. Re: Access a restrcited server from my authorized IP Programming Web Development by pritaeas There are a lot of cUrl samples already in this forum. [Here](http://www.daniweb.com/web-development/php/threads/446170/downloading-a-webpage-text-with-curl)'s one.