Srikrishna Sharma
Srikrishna Sharma

Reputation: 171

Hide File on localhost of XAMPP server

I have created a project in PHP and placed it inside htdocs in XAMPP server. I want to give the project to my friend to run that project locally on his machine to test it .

I don't want him to access the folders and directories I just want him to use the project what is shown in the browser. I want neither he can see my code nor access the files locally.He just can test the functionality in the project.

Is there any way or any tool to do that. Thanks

I use a third-party tool to lock that folder then I cannot access the file from the browser?.

thanks

Upvotes: 0

Views: 1596

Answers (1)

Vali D
Vali D

Reputation: 114

You can always use ngrok (https://ngrok.com/) and serve the app from your local host to the internet. You control when it's available, nobody can access the source code and you don't need a real domain or subdomain to do it.

Upvotes: 2

Related Questions