I am showing a .stl
file at my Blade view like:
var stl_viewer=new StlViewer(document.getElementById("stl_cont"), {
auto_rotate:true,
auto_resize: true,
cameray: 30,
allow_drag_and_drop:true,
models: [ {
id:0,
//It can be direct link or something it doesn't matter.
filename:"{{Storage::url($file->path)}}"
} ]
});
HTML Code is:
<div id="stl_cont" style="min-height: 400px;"></div>
When user inspects the page they can find the link and they can download the file directly.
I don't want this to happen.