Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change post URLs to prevent hacking attempts #151

Open
ioloie opened this issue Jun 14, 2023 · 1 comment
Open

Change post URLs to prevent hacking attempts #151

ioloie opened this issue Jun 14, 2023 · 1 comment

Comments

@ioloie
Copy link

ioloie commented Jun 14, 2023

Allowing users to create URLs at the site root will cause a lot of issues long term.

First is that it opens up attack vectors such as this attempt.

Second is having to steam-roll posts to add new features at URLs that are in use. If you do add a .well-known directory you'll need to remove that post for example.

Moving posts to be under /post/:id the same as users being under /user/:id would prevent both of these issues.

@jjcm
Copy link
Owner

jjcm commented Jun 18, 2023

Rather than doing that, my thoughts right now are to actually move all admin elements under admin.non.io or settings.non.io, and only allowing modification of user settings from those domains.

I agree there's a vector for abuse, but I also believe that if posts are eventually a paid-only privilege, moderation of these abuses will be far easier. Will definitely revisit this if it becomes a problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants