Securing Your SvelteKit App | Captain Codeman

Naive use of +layout load functions could put your SvelteKit app at risk of security leaks. This details one approach to applying security in an unobtrusive manner.