I made a simple SPA with vue JS, using vue Router.
I wanted to prevent users to access a particular page by generating a complex URL:
routes: [
{
path: '/',
name: 'Home',
component: Home,
},
{
path: '/1B158839F8AA339E89BB50B1603E90EC68E0FD5565FE10A7CB32729FDDF7070A',
name: 'MyHiddenPage',
component: MyHiddenPage,
}
]
I was wondering to what extend this might be secure.
In my opinion, it could be readable by a user since he has access to the entire application code. Am I correct?