#How to hide the nextjs version from the "build code" in production?

15 messages · Page 1 of 1 (latest)

fallow goblet
shrewd lightBOT
#

🔎 This post has been indexed in our web forum and will be seen by search engines so other users can find it outside Discord

🕵️ Your user profile is private by default and won't be visible to users outside Discord, if you want to be visible in the web forum you can add the "Public Profile" role in id:customize

✅ You can mark a message as the answer for your post with Right click -> Apps -> Mark Solution
(if you don't see the option, try refreshing Discord with Ctrl + R)

mystic hare
fallow goblet
mystic hare
#
  1. Keep yourself up to date
  2. Even if that version is hidden, the bundles and things will still make it easy to tell the version
#

Also personal oppinion, I think they are making a bigger deal out of it unless you use old versions (as team is very fast for fixing security things and such)

noble flower
#

hmm, is there any particular reason next needed to embed its version tho? just wondering

half sable
#

If a hacker knows you use nextjs

#

(Pretty easy to tell even without the version number)

#

They can just iterate through all versions of nextjs with known vulnerabilities

#

And try their scripts or whatever against each version

worthy token
upbeat imp
# half sable If a hacker knows you use nextjs

yeah but the idea is to make it harder or at least more inconvenient for a hacker (security standpoint). like yeah it honestly wont make a huge difference but the best security practice is to not make it easy for a hacker to know what software and version you are using.

worthy token
#

no it's impossible to hide the version and/or the fact that you use nextjs

upbeat imp