Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 1 year ago.
Improve this question
We have on premise GitLab. Is it possible to stop people from uploading all kinds of files eg. resist people from pushing in .exe files.
I've already looked at gitlabs apis, couldn't find anything relevant
Yes can prohibit certain file names in the push rules, or could reduce the maximum file size to discourage people from uploading .exe files
https://docs.gitlab.com/ee/push_rules/push_rules.html
As #Iron Bishop pointed out this feature is not available in the free plan.
Alternatively, if you are so inclined, you could contribute a filter to the Gitlab code base and then use it. It should be fairly simple to add since the framework for filtering is already in place.
Comment here, if you need further help or want to explore the custom code option.
Cheers and all the best.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 1 year ago.
Improve this question
I know that truecrypt isn't capable of creating a hidden OS but in another post someone describes the steps to do it manually and that he does it to all of his linux computers all of the time. Can anyone elaborate on his steps so that someone (like myself) who is not as experienced could accomplish this?
I would just ask this individual to provide more details but it appears as though their account is "anonymous" or something.
I developed something like you are describing.
Here https://github.com/antonio-petricca/buddy-linux you can find all the information and installation script.
Buddy linux allows you to install linux on (hidden) loop files (like for the link you provided), but providing GRUB loader by an external USB drive. So, removing, it will results in a Windows boot.
The other good stuff is that it is based on LVM, so you can extended file system "simply" by adding loop files as per your needs.
Regards.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
All my pictures and important info got deleted, alon with my exodus wallet recovery phrase and everything!! Is there a way i could get those data back??
If you didn't explicitly wipe out the drives, you can still get your stuff. The OS just lost track of where everything is.
If you load a Windows image to a stick and boot from it, you will probably find your files.
Althoght they wont be inside the Documents folder or whatever default folders windows comes with. You will have to get into your drive and search for the folder. The path will probably under users or something.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
I need to create a cfengine policy which automatically maintains a user list on a linux box. If there are additional users on the system except the list, it would delete them. I am a newbie to cfengine. Any pointers would be immensely appreciated. Also let me know if i am trying to solve the problem in a wrong way.
You can use the new users: promise type in CFEngine 3.6.0 to manage local user accounts.
You can use the getusers() function to get a list of all the users on the system, and then iterate through it to determine which users need to be added or deleted.
Hope this helps you get started.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
I can't find information on what versions they're using. I'd expect AWS to make a statement about this, because it's a pretty big deal, but again, can't find anything.
To answer my own question, YES it is vulnerable. Use this site to test:
http://filippo.io/Heartbleed/
Your question sounds very similar to this thread on AWS Forums:
https://forums.aws.amazon.com/thread.jspa?messageID=535235&tstart=0
If you have not checked that before, in short; Yes AWS ELBs are affected by heartbleed and Amazon released this statement mentioning they are working on it:
http://aws.amazon.com/security/security-bulletins/heartbleed-bug-concern/
They have not provided a timeline yet.
For Amazon Linux images, patch is available through yum repositories. (Updated package: openssl-1.0.1e-37.66.amzn1)
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
I have two linux web servers (X and Y) serving my website by load-balancer, the user can upload his file (image for example) via web form, this file will go to
/var/www/files/token/filename.ext
NOW THE QUESTION IS:
How Could I keep files directory synchronized in real time manner between the two servers (given that files directory contains sub and sub-sub directories in it. I don't want to use NFS (for the purpose of high availability)
Any scenario is highly appreciated
Linux kernel has a feature called "inotify" which detects inode changes, in this case, it can be used to detect change in directory content. But I am not sure if there is any CLI tool for it.
Once change is detected, we can use common file synchronization tools such as rsync to synchronize new/changed files to other servers.
This idea is more like "pushing", which is more responsive than polling at regular interval.