The letter S in a light blue, stylized speech bubble followed by SpeakBits
SpeakBitsThe letter S in a light blue, stylized speech bubble followed by SpeakBits
Trending
Top
New
Controversial
Search
Groups

Enjoying SpeakBits?

Support the development of it by donating to Patreon or Ko-Fi.
About
Rules
Terms
Privacy
EULA
Cookies
Blog
Have feedback? We'd love to hear it!

Firewalling Your Code

lackofimagination.org
submitted
10 mos ago
byjosephtoprogramming

Summary

When writing code, you can call any function as long as it’s public, and similarly, you Can access any object’S public properties or methods. Usually, access to code is all or none – a piece of code can be either public or private. However, there are cases when more fine-grained controls could be useful.

Take a simple backend application with three layers: routes > controllers > services. Each layer has its own directory, and each file in a directory houses a module.

A look at a list of the most popular apps in the world. The list includes Facebook, Twitter, Google, Microsoft and others. The most popular app is Google Play.

 promontory headland head foreland cliff drop drop-off volcano seashore coast seacoast sea-coast-0
12

2 Comments

2
boredgamer
10 mos ago
Interesting concept, kind of like an authZ for your own files
2
josephOP
10 mos ago
Pretty sure that's the intent. I do wonder how well it works once you start getting really distributed