Preventing code entries containing malicious shell script [closed] - c++

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
I'm creating a programming platform, where people are given c++ programming tasks, their code gets uploaded to Amazon linux EC2 instance, compiled, executed and compared to expected output.
What measures should I take to prevent people from writing malicious code, which could, for example, delete everything from EC2 instance? Would dockerizing compilation/execution process be sufficient?

I'm creating a programming platform, where people are given c++ programming tasks, their code gets uploaded to Amazon linux EC2 instance, compiled, executed and compared to expected output.
If you're a professor who checks your student code i think github education (https://classroom.github.com/) is good for you and implement github actions to test the output of the program.
Would dockerizing compilation/execution process be sufficient?
It's good enough. just to be sure run the program inside the container without root permission.

Related

CloudFormation is it part of the architecture of my project? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 3 years ago.
Improve this question
I use CDK for all infrastructure on AWS, but has many problems (problems like ROLLBACK, which a cant make deploy, need destroy all stacks related and then make deploy again) with CloudFormation and people on work saying that should't not consider on part of my architecture and not should discuss about that. When say architecture i referer on all technologies i used to build my projects.
May I consider that I should discuss CloudFormation in my architecture and know and is it part?
It absolutely does make sense discussing CF/IaaC in the frame of your architecture.
It is defilitely "part".
I'd discuss this in Deployment view.

Make my Django app into a rentable service for companies [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I have a webapp running with Django. I would like to make an Enterprise Edition of this website. In exchange for a yearly fee, I would like to allow companies to host the webapp on their own server and benefit from unique features
The problem is that I have no idea how to proceed. How can I execute this, without sending my whole code over to their computer and launching the django app there?
Is there something like generating an .exe that would run the django app without sending my code? How do companies usually proceed to make their tools available on another company's intranet?
well I haven't heard something like that, but what you can do is using a license in your code, there are many types of licenses, from open source to trade secret license, read more about it

Amazon S3 Usage reports by customer [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
For our videoplatform we store all of our videofiles in AWS S3 (sometimes deliver them on CloudFront). Customers are divided into groups; for every group we created a bucket with a Cost A. Tag.
So at this point we can monitor storage and streaming costs for a group. But for a new project we are required to get those reports based on the customers.
What should be the best approach? We could create a bucket for every customer, but i'm not a fan of that.
We could inspect the access logs; but according to the manual they can be "wrong".
Any suggestions?
The documentation is only hedging against the occasional lost or delayed log file. They are not guaranteed to be perfect, but in practice, they are reliable. I get the sense that the purpose of the disclaimer is to avoid petty disputes, rather than significant discrepancies.
Consider using the logs to do your own reporting on your existing projects, where you already know the costs... and compare those results to the results you get with the tag-based billing setup. If the answers are consistent, the problem seems effectively solved.

Executing an external Java Program from Siebel [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
How can I trigger an external Java Program from Siebel? The Java program was custom written, when it is triggered it does some transformation on data. I would like to execute the Java program from within Siebel, is there a way to do that with Workflows or Business Service ?
Another way of implementing the solution is to bring the program into Siebel and call it as a Java Business Service. This methodology only works, if you have access to the source code and can invoke it. For more information on the methodology, a primer from the same author can be found here
http://www.impossiblesiebel.com/2010/04/java-business-service-jbs-tutorial.html
Expose Java program as a web service then create outbound web service in Seibel to call it, this tutorial explains how http://siebelunleashed.com/siebel-outbound-webservice-tutorial/

Dont understan what exactly I can do with cloud computing such as AWS [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
Improve this question
I have read a couple articles and I know the basic concept of cloud computing..But I still don't know what exactly I can do with this service.
As a mobile application developer, I have developed a couple of iPhone applications. I have a Bluehost account and I have MySQL database in there. I have a couple PHP scripts on my server and on device side, it sends http request to the server to get the data from database in XML format. That is basically how I designed and implemented my applications..
Now what can I do with a cloud computing? If I use a cloud computing service such as AWS then how it is going to change the structure of my application?
Thanks in advance...
Cloud computing doesn't necessarily have to change the structure of your app. The main benefit of cloud computing in a lot of cases is scaling.
Right now if your iPhone apps become really popular and overload your current host, what do you do?
Using the cloud, you could spin up new instances (servers) on demand almost instantly. Another benefit is you only pay for what you need. Of course, depending on the situation, it might require changes to your structure to take advantage of scaling features.
edit: Specific to AWS, they have a service called Elastic Load Balancing. Take a look: http://aws.amazon.com/elasticloadbalancing/