# What about security issues in Fortran?

**URL:** <https://fortran-lang.discourse.group/t/what-about-security-issues-in-fortran/102>\
**Category:** Uncategorized\
**Created:** [June 8, 2020, 12:13pm UTC](https://fortran-lang.discourse.group/t/what-about-security-issues-in-fortran/102 "2020-06-08T12:13:14Z")\
**Posts on this page:** 1\
**Showing post:** 17

<div class="post-metadata">

**Author:** ![vmagnin](https://yyz2.discourse-cdn.com/free1/user_avatar/fortran-lang.discourse.group/vmagnin/32/28_2.png) [@vmagnin](https://fortran-lang.discourse.group/u/vmagnin)\
**Post date:** [April 8, 2021, 12:44pm UTC](https://fortran-lang.discourse.group/t/what-about-security-issues-in-fortran/102/17 "2021-04-08T12:44:47Z")

</div>

@beliavsky  
My knowledge of Windows is quite limited but [NTFS](https://en.wikipedia.org/wiki/NTFS#Security) is a modern system which can deal with users and groups. I remember having been asked a password when trying to access the system directories on C:\ from the file explorer. Probably it would be the same thing if you try to navigate into those directories from CMD?

I have never tried WSL, and I don’t know if the sudo rights concern only the directories of the Linux system or also the whole Windows filesystem.

But note that even without `sudo`, on a Linux system you can cause great damages as you can delete all the user’s files!

And yes, looking for the strings you cited could be a good practice when using big codes, using for example `grep`:

```bash
$ grep -inRI EXECUTE_COMMAND_LINE

```

See also that discussion about the necessity to use `use, intrinsic ::`

> [@Programming errors by language](https://fortran-lang.discourse.group/t/programming-errors-by-language/512/8):
>
> In the thread which @vmagnin linked, Steve mentions an ISO document demonstrating several Fortran vulnerabilities. Some scenarios are quite interesting like use iso\_c\_binding ! potentially exploitable use, intrinsic :: iso\_c\_binding ! safer The idea here is that one might inadvertently use a non-intrinsic iso\_c\_binding containing malicious code. Thanks @billlong for sharing the article.

---

_[View the full topic](https://fortran-lang.discourse.group/t/what-about-security-issues-in-fortran/102)._
