RBlind
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
ghodawalaaman@programming.dev to Programming@beehaw.orgEnglish · 8 days ago

is it a security issue that All the supabase requests are coming directly from client instead of the backend ( vercel ) ? - programming.dev

programming.dev

external-link
message-square
0
link
fedilink
2
external-link

is it a security issue that All the supabase requests are coming directly from client instead of the backend ( vercel ) ? - programming.dev

programming.dev

ghodawalaaman@programming.dev to Programming@beehaw.orgEnglish · 8 days ago
message-square
0
link
fedilink
Hello, recently I was working on a project entirely made by AI. at first it looked plausible but as I dig deeper into the code I found out ton of security issues. we solved the security issues one by one. ( thankfully the site isn’t released yet and only have beta testing users ) my question is that is it considered a security issue if I let the client ( browser ) make the supabase api call instead of routing those requests through the backend ( vercel ) even when I have made policies that prevents unauthorized users from submitting INSERT queries however I am still not sure if this is enough. one thing that comes in my mind is that any authorized user can just spam the database and fill it with junk data but I think I can just ban that user and delete all the junk data relatively easily using a SQL query? the thing is that I don’t want to refactor AI code and make it “use server” instead of “use client”. since I have to make a ton of changes and I am still learning Nextjs. ( thinking about using AI to fix AI code but I don’t think it will work and don’t want more AI slop in the codebase ) any suggestions are appreciated!
alert-triangle
You must log in or # to comment.

Programming@beehaw.org

programming@beehaw.org

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programming@beehaw.org

All things programming and coding related. Subcommunity of Technology.


This community’s icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.

Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 1 user / day
  • 1 user / week
  • 57 users / month
  • 184 users / 6 months
  • 2 local subscribers
  • 15.3K subscribers
  • 89 Posts
  • 1.22K Comments
  • Modlog
  • mods:
  • alyaza [they/she]@beehaw.org
  • Hexorg@beehaw.org
  • Chris Remington@beehaw.org
  • BE: 0.19.16
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org