Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 952127
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T23:50:32+00:00 2026-05-15T23:50:32+00:00

alt text http://img185.imageshack.us/img185/2080/mydiagram.png Maxima.exe is a Computer Algebra System built as a native code

  • 0

alt text http://img185.imageshack.us/img185/2080/mydiagram.png

Maxima.exe is a Computer Algebra System built as a native code rather than a managed code.
MyService works as a socket server, it will instantiate a new process of Maxima for each browser submitting mathematics expression to Web Server.

I cannot use AppDomain here because Maxima is a native code. However I want security policies provided by AppDomain such as restriction to write data on file system.

My question is, how can I get the AppDomain-like security policies when I instantiate Maxima in a process rather than in an AppDomain?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T23:50:33+00:00Added an answer on May 15, 2026 at 11:50 pm

    Since Maxima.exe is a native executable, the only security policies you can apply are those supported by the base Windows operating system. Unfortunately, that means your options are pretty limited: the only really useful thing you can do is run Maxima.exe in the context of a user account with limited privileges. When it comes to disallowing write access to most of your system, that should be sufficient, though.

    The dated-but-still-useful article Safe Impersonation With Whidbey shows how to run a worker function in the context of another user account: you would then start Maxima.exe from that worker function.

    Running as a limited user will of course still allow various Maxima.exe instances to interfere with each other to a certain degree (i.e. overwrite files created in the instance working directory). Starting each instance with a unique, randomly-created working directory (e.g. based on a GUID) may offer sufficient security for your purposes: if not, you may actually need to create distinct user accounts for each instance (or at least have a pool of user accounts for that purpose).

    In the end, it all comes down to "how would I solve my security problem using Windows base-only features", and unfortunately you won’t have access to the much nicer .NET security features or the facilities found on non-Windows platforms (jails, systrace, etc.).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to understand why the below is occuring: alt text http://img185.imageshack.us/img185/8301/capturexj.png It appears
alt text http://img216.imageshack.us/img216/2288/problem11.png As given in the picture, I have an search bar in
I have the following tables... Tasks alt text http://img260.imageshack.us/img260/3695/screenshotbg.png People alt text http://img685.imageshack.us/img685/6445/screenshot1f.png tasks_people
alt text http://img21.imageshack.us/img21/3262/snapshotosz.png I want to add a new tab or site in sharepoint
alt text http://img14.imageshack.us/img14/5020/whatbox.png I dont know what this is called, but you have 2
I have an application using the following layout : alt text http://img15.imageshack.us/img15/238/screenshot003xbo.png When the
alt text http://img187.imageshack.us/img187/8453/testhc3.png alt text http://img145.imageshack.us/img145/3306/test2bn4.png The first picture is my query. I need
alt text http://img375.imageshack.us/img375/9830/combobox.png Setting the IsHitTestVisible=false has the effect of having the whole ComboBox's
Is there an officially sanctioned API for google calculator? alt text http://img717.imageshack.us/img717/6815/calcu.png
Look at this image: alt text http://img139.imageshack.us/img139/4488/picture2ep3.png I know how to add UITableView with

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.