Questions tagged [access]
The access tag has no summary.
26 questions
2 votes
2 answers
122 views
How to Design a Secure Script for Conditional File Access Based on Time and API Conditions?
I want to create a secure script that grants access to files based on specific conditions. The access should be controlled by both time-based and API-based conditions. The script should only allow ...
0 votes
3 answers
862 views
Which is the best data structure to use when you want to randomly pick elements & use them, but also delete them after use
I have 1000 lines in a text file. I want to read them into some data structure[DS]. After reading them, I will be randomly picking 50 lines from the DS (using a Random Number Generator). Next time 50 ...
1 vote
1 answer
252 views
What are ways to manage secrets in a big organisation?
Many articles on the internet focus on methods to keep secrets outside public-access (like mobile apps, website frontend etc). But let's take the example of a really big organisation. It has secrets ...
1 vote
1 answer
678 views
Git strategy for separate teams in one project without access to eachother source
We have one project and separate teams which work on separate modules. What we need is a strategy that allows our teams to work on one project but without access to each other source codes. one ...
0 votes
1 answer
123 views
How you can deal with making invalid a list of JWTs?
I design a new Rest API for a personal project and I am trying to implement the authentication and authorization mechanism as a separate project, so I ended up with a couple of problems which I am ...
3 votes
2 answers
1k views
Insertion sort vs Merge sort - memory access
I am a computer science sophomore doing a data structures and algorithms course. My professor said that insertion sort requires random access, while merge sort does not. According to him, the ...
5 votes
2 answers
4k views
Alternative locking strategies
I'm having a problem with the design of my application, that neither optimistic nor pessimistic locking tends to solve. Here is a simplified/altered version of the problem that describes the situation....
0 votes
1 answer
2k views
Should I label class diagram variables as private or public?
In my program, I have several class variables whose access specifier is known as private package. The default accessor specifier in Java is known as private package where it is accessible within the ...