Exetools  

Go Back   Exetools > General > General Discussion

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 04-15-2024, 10:37
chants chants is offline
VIP
 
Join Date: Jul 2016
Posts: 826
Rept. Given: 47
Rept. Rcvd 50 Times in 31 Posts
Thanks Given: 737
Thanks Rcvd at 1,140 Times in 529 Posts
chants Reputation: 51
Quote:
Originally Posted by Abdul Moeed View Post
This has been disabled on purpose - security.
The security risk is anyone can create a webpage with a link to local files on your hard drive.
If not disabled then it would mean that attackers would be able to even link to and run any executables on your PC from the internet through the browser when you visit an arbitrary web page.

This used to work in the past to enable links in browser to local files. It may or may not work with modern versions of the browsers:
Code:
https://github.com/tksugimoto/chrome-extension_open-local-file-link
You can try it and see if it works for you.
So you are likely a greenhorn in this area. But since you've not heard of CORS, here is a reference as it's pretty standard for some years now to be able to allow cross origin resource sharing:
Quote:
https://aws.amazon.com/what-is/cross-origin-resource-sharing/
I already mentioned web servers have their own security.

However here he said connection refused, not a 400 unauthorized which would be the correct and likely behavior for a properly configured web server. Hope I've taught our greenhorn friend here some web dev info so they can provide more accurate responses in the future
Reply With Quote
  #2  
Old 04-15-2024, 14:16
Moe Moe is offline
Banned User
 
Join Date: Sep 2023
Posts: 28
Rept. Given: 1
Rept. Rcvd 1 Time in 1 Post
Thanks Given: 2
Thanks Rcvd at 11 Times in 7 Posts
Moe Reputation: 2
Quote:
Originally Posted by chants View Post
So you are likely a greenhorn in this area. But since you've not heard of CORS, here is a reference as it's pretty standard for some years now to be able to allow cross origin resource sharing:

I already mentioned web servers have their own security.

However here he said connection refused, not a 400 unauthorized which would be the correct and likely behavior for a properly configured web server. Hope I've taught our greenhorn friend here some web dev info so they can provide more accurate responses in the future
Read the first post carefully. @agoo is asking about LOCAL DEVICE.
There is no web server involved.

@agoo is trying to access his LOCAL DEVICE files with his browser and asking why it fails.
I have provided the answer.
CORS is something totally different.

Stop trying to put down people with high-sounding terms without understanding their meaning first...
Reply With Quote
  #3  
Old 04-16-2024, 00:38
chants chants is offline
VIP
 
Join Date: Jul 2016
Posts: 826
Rept. Given: 47
Rept. Rcvd 50 Times in 31 Posts
Thanks Given: 737
Thanks Rcvd at 1,140 Times in 529 Posts
chants Reputation: 51
Quote:
Originally Posted by Abdul Moeed View Post
Read the first post carefully. @agoo is asking about LOCAL DEVICE.
There is no web server involved.

@agoo is trying to access his LOCAL DEVICE files with his browser and asking why it fails.
I have provided the answer.
CORS is something totally different.

Stop trying to put down people with high-sounding terms without understanding their meaning first...
CORS applies to different ports on a local host as well. Something even the most junior of web devs knows. Calm down my tenderfooted friend. Just because you are neophyte doesn't imply anything bad about you
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
anyone know how to debug chrome extention independently (not using google chrome) Mendax47 General Discussion 2 09-14-2021 19:23
Making PING to JMI taos General Discussion 3 05-18-2015 03:38


All times are GMT +8. The time now is 21:42.


Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX, chessgod101
( Since 1998 )